package com.iotproject.studyservice.service;

import com.iotproject.studyservice.entity.UserUnrememberWord;
import com.iotproject.studyservice.entity.vo.UnrememberWord;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 * 用户生词本 服务类
 * </p>
 *
 * @author testjava
 * @since 2023-04-07
 */
public interface UserUnrememberWordService extends IService<UserUnrememberWord> {
    //将单词插入生词本
    void insertUserUnrememberWord(String wordId, String grade,HttpServletRequest httpServletRequest);
    //获取生词本单词列表
    List<UnrememberWord> getUserUnrememberWordList(String userId, String grade);
}
